﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Caixa.DAO;
using Caixa.Model;

namespace Caixa.BLL
{
	public static class ClienteBLL
	{
		#region " Methods "

		#region " Get Methods "

		public static Cliente GetByID(int id)
		{
			return ClienteDAO.GetByID(id);
		}

		public static bool ExisteCliente(int id)
		{
			return ClienteDAO.ExisteCliente(id);
		}

		#endregion

		#region " DDL Methods "

		public static int Insert(Cliente c)
		{
			return ClienteDAO.Insert(c);
		}

		public static bool Update(Cliente c)
		{
			return ClienteDAO.Update(c);
		}

		public static bool Delete(Cliente c)
		{
			return ClienteDAO.Delete(c);
		}

		#endregion

		#endregion
	}
}
